home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / onlypc / linux / readme.linux < prev   
Text File  |  1995-08-12  |  9KB  |  199 lines

  1.   Information for Linux Users
  2.   Orest Zborowski
  3.   13 November 1994
  4.  
  5.   1.  Linux versions on which XFree86 has been tested
  6.  
  7.   XFree86 has been tested with Linux version 1.1.49. It should work with
  8.   any version since 1.0 without change. The binaries and libraries are
  9.   based on the 4.5.26 DLL C libraries, and the 1.4.4 dynamic linker
  10.   ld.so (libc-4.5.26 or newer is *REQUIRED* !).  The DLL X libraries are
  11.   produced with the 2.16 DLL-tools by Eric Youngdale.
  12.  
  13.   2.  Backwards Compatibility
  14.  
  15.   X11R6 is considered a major update from X11R5, so the shared libraries
  16.   in XFree86 3.1 and later are not compatible with XFree86 2.1.1 and
  17.   older libraries. To continue to run X11R5 applications, you must keep
  18.   the old libraries somewhere on your machine. They can be moved from
  19.   /usr/X386/lib elsewhere, but /etc/ld.so.conf must be updated.  All
  20.   X11R5 applications should work with the X11R6 servers without
  21.   problems.
  22.  
  23.   Very old binaries (linked to XFree86-1.2, XFree86-1.3 or XFree86-2.0
  24.   libraries) will continue to work, but may need an explicit symlink
  25.   from /lib/libX{11,t,aw}.so.3 to /usr/X386/lib/libX{11,t,aw}.so.3.
  26.   Linking with ld.so against the XView3L5 distribution will give
  27.   problems with pre-1.3 versions of ld.so, since the XView libraries
  28.   contain the absolute path to the shared images, which is discouraged
  29.   with ld.so.  A temporary fix is including / in /etc/ld.so.config,
  30.   better recompile XView with relative library names or get a newer
  31.   ld.so.
  32.  
  33.   3.  Installing XFree86
  34.  
  35.   Starting with version 3.0, XFree86 is installed in /usr/X11R6. If you
  36.   don't have enough space for both X11R5 and X11R6, you'll have to make
  37.   space by discarding unnecessary parts of X11R5. In particular, the
  38.   fonts and old X11R5 binaries can be removed. The shared libraries must
  39.   be retained in order to run dynamically-linked X11R5 binaries.
  40.  
  41.   Each binary distribution of XFree86 3.X comes with a detailed
  42.   installation document relevant to that release. The most up-to-date
  43.   information is kept there, while this document describes basic
  44.   features of XFree86 3.X on Linux and how to compile the sources.
  45.  
  46.   4.  Running XFree86
  47.  
  48.   XFree86 requires about 4mb of virtual memory to run, although having
  49.   8mb of RAM is probably the minimum comfortable configuration. A 387
  50.   coprocessor is helpful for 386 machines, although greater gains in
  51.   interactive performance are obtained with an increase in physical
  52.   memory.  Also, a faster graphics card, bus or RAM, will improve server
  53.   performance.
  54.  
  55.   After unpacking the tar files, you need to include /usr/X11R6/lib in
  56.   /etc/ld.so.conf (where it should already be by default) or in your
  57.   LD_LIBRARY_PATH environment variable. Also, the configuration file
  58.   /usr/X11R6/lib/X11/XF86Config must be properly filled out based on the
  59.   host setup using XF86Config.eg as a starting point and README.Config
  60.   as guideline.  You may damage your hardware if you use a wrong
  61.   XF86Config file, so read the docs, especially the man pages and the
  62.   other README files in /usr/X11R6/lib/X11/doc.
  63.  
  64.   XFree86 has the ability to perform VT switching to and from the X
  65.   server. When first started, XFree86 will automatically locate the
  66.   first available VT (one that hasn't been opened by any process), and
  67.   run on that VT.  If there isn't one available, XFree86 will terminate
  68.   with an error message.  The server can be run on a specific VT by
  69.   using the ``vt<nn>'' option, where <nn> is the number of an available
  70.   VT (starting from 1). If you don't have a free VT XFree86 cannot run.
  71.   You can increase the number of available VTs by increasing the value
  72.   of NR_CONSOLES in include/linux/tty.h and recompiling the kernel.
  73.  
  74.   Once running inside X, switching to another VT is accomplished by
  75.   pressing Ctrl-Alt-<Fnn> where nn is the number of the VT to switch to.
  76.   To return to the server, press the proper key-combination that moves
  77.   you back to the VT that XFree86 is using: by default, this is
  78.   Alt-<Fmm>, where mm is the number of the VT the server is running on
  79.   (this number is printed when the server is started).  Note that this
  80.   is NOT the VT from which the server was started.
  81.  
  82.   NOTE: you can redefine the text-mode keybindings with the `loadkeys'
  83.   command found in the kbd-0.81.tar.gz archive (or a later version
  84.   thereof).  With this, you can (for example) make Ctrl-Alt-<Fmm> work
  85.   from text mode the same way it works under the XFree86 server.
  86.  
  87.   When the server is exited, it will return to the original VT it was
  88.   started from, unless it dies unexpectedly, when the switch must be
  89.   done manually. There still seem to be weird combinations of graphic
  90.   cards and motherboards that have problems to restore the textfont when
  91.   returning from XFree86 to the text mode. In these cases using the runx
  92.   script from the svgalib distribution might help.
  93.  
  94.   The XFree86 server now queries the kernel to obtain the key binding in
  95.   effect at startup. These bindings are either the default map in place
  96.   when the kernel was compiled, or reloaded using the `loadkeys'
  97.   utility. Not all keys are bound: kernel-specific, multiple keysym, and
  98.   dead keys are not handled by the server. All others are translated to
  99.   their X equivalents.  Note that the XFree86 server only allows for
  100.   four modifier maps: unshifted, shifted, modeswitch unshifted and
  101.   modeswitch shifted.  Depending on what the modeswitch key is (it is
  102.   configurable in your XF86Config and defaults to Alt), XFree86 will
  103.   read those tables into its keymaps.  This means if you use certain
  104.   keys, like left-Control, for Linux modeswitch, that will not be
  105.   mappable to X.
  106.  
  107.   There are some quirks that may need some fixing depending on your
  108.   configuration. In the past, Linux xload used the BSD method of
  109.   obtaining the load average from the running kernel. In the XFree86-1.3
  110.   release, that has been replaced by reading the information from
  111.   /proc/loadavg instead, which should be forward-compatible with future
  112.   kernel releases. Xman has also been changed to support the GNU groff
  113.   family instead of the BSD nroff family. A quick edit and recompile
  114.   restores BSD conventions. The server has been modified to provide
  115.   better console redirection support for clients, which includes
  116.   changing the ownership of /dev/console and /dev/tty0 as well as the VT
  117.   used to run on. Unfortunately, the kernel requires that a process be
  118.   setuid root to perform console redirection, so xterm and xconsole must
  119.   be setuid root.  As xconsole is not designed with running setuid root
  120.   in mind, this opens a big security problem.
  121.  
  122.   5.  Compiling XFree86
  123.  
  124.   There are no special instructions required for compiling XFree86.
  125.   This version was compiled with gcc-2.5.8, the 4.5.26 DLL libraries and
  126.   the 1.4.4 shared, dynamic linker ld.so. The tools-2.16 DLL package was
  127.   used to generate the shared libraries, and the server sources have
  128.   been updated to use the new (/usr/bin) location of the tools. The
  129.   server has been compiled with -m486, which optimizes it for the 486
  130.   processor, but the binary will run on the 386 processor (there is a
  131.   slight increase in binary size over using -m386, but no loss of
  132.   performance).
  133.   All extensions and clients have been ported and tested. By default,
  134.   the servers are compiled without any extra extensions (PEX, XIE, etc),
  135.   but libraries for those extensions are always generated. By modifying
  136.   site.def, extra extensions can be compiled into the server.
  137.   Alternately, the link kit can be used to craft modified servers.
  138.  
  139.   The distribution is very large, but it is possible to compile XFree86
  140.   on a single 64mb partition, if the source tree is carefully trimmed
  141.   (no manpages, PEX or large clients). Simply run ``make Makefiles'' to
  142.   create the Makefiles, then stop the make and run each piece
  143.   individually. It is not necessary to run ``make depend'' as well,
  144.   which saves some space.  Having 100mb available makes compiling
  145.   XFree86 a lot easier. You will need about 10mb of virtual memory to
  146.   compile the entire server.
  147.  
  148.   If patches are applied which significantly change the libraries,
  149.   modified jump_xxx files will be needed. Those can be generated
  150.   according to instructions given in the DLL tools package, and will be
  151.   made available as XFree86 patches.
  152.  
  153.   The JUMP_xxx defines used to compile the X libraries can also be used
  154.   to compile external X shared libraries, like Xaw3d. Detailed
  155.   instructions are provided in /usr/X11R6/lib/X11/config/lnxLib.rules,
  156.   where the X library definitions are provided, as an example.
  157.  
  158.   Thanks to Dirk Hohndel (hohndel@aib.com) for working out all the
  159.   details and doing all the work in creating the first set of XFree86
  160.   DLL libs, on which the current method (developed by Orest Zborowski
  161.   (orestz@eskimo.com)) is based.
  162.  
  163.   6.  Bug Notification
  164.  
  165.   Bug reports should be sent to XFree86@XFree86.org or posted to the
  166.   comp.windows.x.i386unix newsgroup. Questions or comments about Linux
  167.   support or the Linux distribution should be made to orestz@eskimo.com.
  168.  
  169.   $XConsortium: Linux.sgml,v 1.2 95/01/23 15:34:44 kaleb Exp $
  170.   Generated from XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/Linux.sgml,v 3.5 1995/01/28 16:01:43 dawes Exp $
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.